RenderContext.RelativePath Property

Gets and sets the package-relative path of the requested file to render.

Parent Type: RenderContext

Namespace: Microsoft.LearningComponents

Assembly: Microsoft.LearningComponents.dll

Syntax
C#

public string RelativePath

{ get; set; }
Remarks

The value may not be set to null or an empty string.

This value must be relative to either:

  1. The root of the package.
  2. The EmbeddedUIResourcePath for dynamically rendered content.
the EmbeddedUIResourcePath.